<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:home="http://www.contact.core.home.com/contacts/core/home/ui">

<ui:component>
    <h:form id="requestRichPanelForm">
        <rich:panel id="requestRichPanel"
                    style="overflow:auto;text-align:left;width:100%;border:none"
                    bodyClass="rich-laguna-panel-no-header">
            <br/>
            <!--<a4j:outputPanel layout="block"-->
            <!--style="background-color:#e0a628; border:1px;-->
            <!--border-color:gainsboro; width:100%">-->
            <!--<h:outputLabel value="#{newFriendBean.operationMessage}">-->
            <!--<a4j:commandLink value="#{newFriendBean.linkPerson}"/>-->
            <!--</h:outputLabel>-->
            <!--</a4j:outputPanel>-->
            <!--<h:panelGroup rendered="#{home.numberOfFriendRequest !=0} " layout="block">-->
            <h:outputFormat value="#{resources.youHaveNFriendsRequestText}">
                <f:param value="#{home.numberOfFriendRequest}"/>
            </h:outputFormat>
            <rich:separator width="100%" height="1px"/>
            <a4j:repeat value="#{home.friendsRequest}" var="item">
                <home:oneRequestView request="#{item}"/>
                <rich:separator width="100%" height="1px"/>
            </a4j:repeat>
            <!--</h:panelGroup>-->
            <!--<a4j:outputPanel rendered="#{home.numberOfFriendRequest == 0} " layout="block">-->
            <!--<h:outputLabel value="List of Friend's request is empty"/>-->
            <!--</a4j:outputPanel>-->

        </rich:panel>

    </h:form>


</ui:component>


</html>


